home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Code Resources / Jims CDEFs 1.50 / Documents / Version history < prev    next >
Encoding:
Text File  |  1995-10-27  |  9.5 KB  |  247 lines  |  [TEXT/KAHL]

  1. --------------------------------------------------------------------------------
  2. Version History:
  3. --------------------------------------------------------------------------------
  4. v1.5    November 1995
  5.                     - please refer to the "What's new in v1.50…" document.
  6.  
  7.  
  8. v1.4    June    1995
  9.                     - all CDEF ID numbers increased by 1000 to adhere to Apple
  10.                       guidelines (IDs < 128 reserved).
  11.                       
  12.                     - source now compiles with Think 7, Symantec 8, CW 6 and
  13.                       MPW. Projects/makefiles for all.  Precompiled headers
  14.                       are not needed.
  15.                       
  16.                     - FAT CDEFs can be built (Symantec or MPW).
  17.                     
  18.                     - DeviceLoop drawing is used where appropriate to better
  19.                       deal with multiple monitor situations.
  20.                       
  21.                     - 3D button now follows guidelines from Develop 15, but 
  22.                       even looks great in b&w.  For lovers of rectangular,
  23.                       gray buttons, there are compile switches to keep you
  24.                       happy.
  25.                     
  26.                     - all CDEFs have a subtle 3D effect on any color background.
  27.                       Goal was a 3D look even in white windows.
  28.                       
  29.                     - added a new Slider control.
  30.                     
  31.                     - many fixes, most relatively minor.  Worst was a heinous,
  32.                       bonehead memory leak on non-colorQD machines - this only
  33.                       affected sliders, spinner & dateTime.  Also am properly
  34.                       handling locked controlData handles and PixMapHandles
  35.                       (thanks Dave).
  36.                       
  37.                     - added some new demos to answer some questions I have
  38.                       been asked.
  39. --------------------------------------------------------------------------------
  40. v1.3    November 1994
  41.                     - first release with full source
  42.                     - will compile under Think 6 or Think 7
  43.                     - compiled without MacsBug names to decrease size.
  44.                     - tightened up code in cdef3D, had some bogus code
  45.                       that was not needed - sloppy copy 'n' paste.
  46.                       
  47.                     - added to demoCDEF program to demonstrate use of
  48.                       these CDEFs in a window as well as in a dialog
  49.                       and to add a couple of simple TabPanel demos.
  50.         GroupBox
  51.         --------            
  52.                     - GroupBox has a new variation 4, "insetBox" to draw
  53.                       a simple box with the bottom/right edges in white
  54.                       and top/left edges in a gray shade taken from
  55.                       cFrameColor and GetGray().
  56.         Spinner
  57.         -------        - added new variation code, "horizArrows" to create
  58.                       arrows that point left/right instead of up/down.
  59.         TabPanel
  60.         --------    - LoWord of refCon can specify from 2 to 8 tabs per
  61.                       row.  Default is 4 per row.  HiWord of refCon is
  62.                       used as a 'notch' in the right corner.
  63.                       
  64.             * NOTE *  This is a change in the use of the refCon from
  65.                       previous versions of this control.          
  66.         Popup Menu
  67.         ----------
  68.                     - Major enhancements to popup Menu CDEF
  69.                     
  70.                         o Now should be completely "plug compatible" with
  71.                           Apple's CDEF 63 - with one exception - it will
  72.                           not draw command-key equivalents.
  73.                           
  74.                         o Supports "dynamic" menus created via NewMenu() as
  75.                           long as they have been inserted into the menu
  76.                           list with InsertMenu()
  77.                           
  78.                         o Supports ICONS, reduced ICONS, SICN's and cicn's
  79.                         
  80.                         o Supports styled text titles.
  81.                     
  82.                         o Added 7 enhancements over CDEF 63, all triggered
  83.                           by adding a "pseudo variation code" to the title
  84.                           width value in the controlMax field.
  85.                           
  86.                           popupNoMark      : Don't use a checkmark on current item.
  87.                           popupBlackSymbol: Always draw symbol in black.
  88.                           popupInsetFrame : Draws an inset popup frame.
  89.                           
  90.                           popupSymbolOnly : Draw popup symbol for "type-in menus"
  91.                           popupNoSymbol      : Don't draw popup symbol at all.
  92.                           popupCenterText : Don't draw popup symbol, don't expand 
  93.                                               control width to that of the menu and
  94.                                               center item text in control rect.
  95.                           popupIconOnly      : Draw item Icon in a framed box.
  96.                           
  97.                         o popupNoMark, popupBlackSymbol and popupInsetFrame can 
  98.                           be combined with others, but combinations of the last 
  99.                           4 are undefined.
  100.                           
  101. v1.2    September 1994
  102.  
  103.                     - removed bogus UpdtDialog() call from demoCDEF.c - could
  104.                       cause a crash and wasn't needed.
  105.                     - minor fix to dimText.c.
  106.                     - fixed multiple monitor color problems in CDEFs that
  107.                       do not use offScreen drawing (3D Buttons, Popup, 
  108.                       Tab Panel, Progress Bars & Group Box).
  109.                     - reworked some of the common routines for CDEFs in
  110.                       source folder "CDEF Common".
  111.                     - finally got around to checking the controls in a window
  112.                       as opposed to a dialog.  Lots of minor tweaks to make
  113.                       things work correctly with FindControl & TrackControl.
  114.                       Details follow.
  115.                     - many enhancements to the demoCDEF program to show:
  116.                         : disabled Group Boxes
  117.                         : Fractional increment in Spinner controls
  118.                         : "Live" display of control values for Sliders
  119.                         : Reset of DateTime controls to current time.
  120.                         : Linking of a Spinner control to Progress bar.        
  121.         
  122.         Spinner
  123.         -------            
  124.         
  125.     ** MAJOR CHANGE **
  126.     
  127.                     - the meaning of the refCon field has changed:
  128.                             LOWORD is the increment value to use
  129.                             HIWORD is the DITL item number to update 
  130.                             
  131.                       The refCon value is only checked when the control is first
  132.                       initialized.  The HIWORD is only honored if the controlOwner
  133.                       is a dialog window.
  134.                       
  135.                     - Spinner control has a new variation to get "3D" arrows.
  136.                       Use varCode 2 for this.  3D arrows are colored as are
  137.                       system scroll bars with cTingeLight & cTingeDark.
  138.                       
  139.                     - Spinner control now behaves correctly with TrackControl.  
  140.                       Part codes returned are :
  141.                           2 = decrease value
  142.                         3 = increase value
  143.                         
  144.                     - it is now possible to have a spinner control that adjusts
  145.                       by a fractional value.  This requires some special code in
  146.                       your program (after all, the contrlValue field is a short).
  147.                       See demoDialog.c for an example.
  148.                       
  149.                       To do this, a struct is provided to let you store userData
  150.                       in the control's internal contrlData field - which is used
  151.                       by the control.  See jimsCDEF.h for the struct.
  152.         Tab Panel
  153.         ---------              
  154.                     - Tab Panel improved to handle multiple rows of tabs.
  155.                       It defaults to 4 tabs per row, with a maximum of 5
  156.                       rows.  Variation code 2 added to force a single row.
  157.                       Variation code 1 will force System font.
  158.                     - added panelCmdTab() to panelAssist.c to allow cmd-Tab or
  159.                       cntl-Tab to cycle through the tabs.
  160.         Sliders
  161.         -------                    
  162.                     - Slider controls now behave correctly with Find/Track Control
  163.                       and will call an actionProc from SetCtlAction() if set.
  164.                       Part codes returned are :
  165.                           1 = "thumb" adjusted value
  166.                           2 =  value was decreased
  167.                           3 =  value was increased
  168.                           
  169.                     - Slider controls : change in variation codes :
  170.                             1 is now for "unfilled scale"
  171.                             2 is now for "3D" effect
  172.  
  173.         Date & Time
  174.         -----------
  175.                     - DateTime control values were changed to indicate what
  176.                       digits are currently highlighted.  FindControl part codes 
  177.                       returned are:
  178.                           2  - Hours 
  179.                           3  - Minutes 
  180.                           4  - AM/PM
  181.                           5  - TimeUp        (never as control value)
  182.                           6  - TimeDown    (never as control value)
  183.                           
  184.                           7  - date 1 (per control panel)
  185.                           8  - date 2
  186.                           9  - date 3
  187.                           10 - DateUp        (never as control value)
  188.                           11 - DateDown    (never as control value)
  189.                     
  190.                     - DateTime control now has 2 "pseudo variation codes":
  191.                         : if control Max is non-zero, 24 hour time is forced.
  192.                         : if control Min is non-zero, use 3D effect for arrows
  193.                           & text as with the Spinner control.
  194.         Popup Menu
  195.         ----------
  196.                     - Popup Menu control now recognizes variation 2 for 3D
  197.                       effects as in Group Boxes, Sliders and Spinner control.
  198.                       
  199.                     - as with Apple's CDEF 63, call TrackControl with the last
  200.                       parameter set to -1 to use this control in a regular
  201.                       window.
  202.         Group Box
  203.         ---------
  204.                     - now will disable and draw in gray.
  205.                     
  206. --------------------------------------------------------------------------------
  207.           
  208. v1.1    August 1994    - added Tab Panel CDEF to collection (see description
  209.                       above).
  210.                     - all CDEFs use "embossed" text if used on a non-
  211.                       white background.
  212.                     - DateTime control now uses a title if supplied in
  213.                       control template.
  214.                     - PopUpMenu control draws color title per 'cctb' 
  215.                       rather than 'mctb' and will "emboss" as with others.
  216.                       When the menu is "popped", the title colors are the
  217.                       same as the inverted menu item, rather than 'cctb'.
  218.                       colors.  IMHO, this looks better.
  219.                     - Fixed a PenSize problem with 3D Buttons in Alerts
  220.                       with no 'actb' resource.
  221.                     - slider controls corrected to use proper gray when
  222.                       inactive.
  223.                     - slider controls now respond to clicks in the scale
  224.                       portion of the control.
  225.                     - variation 1 (was gray thumb) in slider controls now
  226.                       draws a "3D" version of the control.  Shadow color
  227.                       is cTingeLight from 'cctb'.
  228.                     - removed a MAJOR memory leak in the slider controls.
  229.                     - Added a "barberpole" variation to the ProgressBar.
  230.                     
  231.                     - completely rewrote demo program to use the TabPanel
  232.                       control.
  233.                       
  234. --------------------------------------------------------------------------------
  235.  
  236. v1.01    July 1994    - 3D Buttons now supports multi-line titles
  237.                     - GroupBox uses Control Max instead of refCon for
  238.                       true height of box (templates must be changed).
  239.                     - both slider controls have a correction to tracking
  240.                       logic when mouse is moved past end of slider. Now,
  241.                       tracking will not resume until mouse is moved back
  242.                       to the thumb.
  243.         
  244. --------------------------------------------------------------------------------
  245.  
  246. v1.0    June 1994    - first distribution
  247.